package cn.sfrog.project.biz.web.vo.room;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(description = "提交房间表单VO")
public class AppLiveRoomFormVO {

    @ApiModelProperty("房间名称")
    @NotBlank(message = "房间名称不能为空")
    private String title;

    @ApiModelProperty("房间封面")
    @NotBlank(message = "房间名称不能为空")
    private String poster;

    @ApiModelProperty("是否预约直播 1是 0不是")
    @NotNull(message = "房间名称不能为空")
    private String isAppointment;

    @ApiModelProperty("预约时间 如房间没有预约的话就填写当前时间")
    @NotNull(message = "预约时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date appointmentTime;


    @ApiModelProperty("房间类型（详见字典表 科室类型）")
    @NotBlank(message = "科室类型不能为空")
    private String departmentType;

}
